package com.yc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 关注表
 * @TableName concern
 */
@TableName(value ="concern")
@Data
public class Concern implements Serializable {
    /**
     * 关注id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 房东id
     */
    @TableField(value = "master_id")
    private Integer masterId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}